package com.itheima.stock.service.impl;

import com.itheima.stock.mapper.StockBusinessMapper;
import com.itheima.stock.pojo.StockBusiness;
import com.itheima.stock.service.StockBusinessService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author 10937
* @description 针对表【stock_business(主营业务表)】的数据库操作Service实现
* @createDate 2022-12-05 20:59:54
*/
@Service
public class StockBusinessServiceImpl implements StockBusinessService{
    @Autowired
    private StockBusinessMapper stockBusinessMapper;

    @Override
    public List<StockBusiness> getAllStockBusiness() {
        return stockBusinessMapper.selectAllStockBusiness();
    }
}




